#ifndef _SNAKE_H
#define _SNAKE_H


#include "sys.h"
#include "delay.h"
#include "usart.h"
#include "led.h"
#include "lcd.h"
#include "key.h"

#include "includes.h"

#define MAX_SNAKE_BODY 300

typedef struct snake_body
{
	int x;
	int y;
}_snake_body;

typedef struct snake_struct
{
	int len;
	_snake_body body[MAX_SNAKE_BODY];
}_snake;

//游戏任务
void game_snake_task(void);

//创建主界面任务
void create_main_task(void);


#endif
